<?php

namespace app\admin\controller;

use think\Request;
use think\Db;
use think\Controller;
use think\Log;
class Member extends Controller
{
	public function user_list()
	{   
		$title='用户列表';
		$count=Db::name('user')->count();
		$data=Db::name('user')->select();
		//dump($data);
		$this->assign('title',$title);
		$this->assign('count',$count);
		$this->assign('data',$data);
		return $this->fetch();
	}		
	public function member_Grading()
	{
		return $this->fetch();
	}
	public function delete($uid)
	{
		$delete=Db::name('user')->where('uid',$uid)->delete();
		if($delete){
			$this->success('删除成功！','user_list');
		}
	}
	public function integration()
	{
		return $this->fetch();
	}
}